package com.lkx.farmershop.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lkx.farmershop.common.api.ApiResult;
import com.lkx.farmershop.model.dto.FollowDto;
import com.lkx.farmershop.model.entity.Follow;
import com.lkx.farmershop.model.vo.FollowAndFansCount;
import com.lkx.farmershop.model.vo.SimpleUserVo;

import java.util.List;

/**
 * (Follow)表服务接口
 *
 * @author makejava
 * @since 2025-01-29 16:37:10
 */
public interface FollowService extends IService<Follow> {

    ApiResult<String> followUser(FollowDto followDto);

    ApiResult<FollowAndFansCount> getCount(Long userId);

    ApiResult<List<SimpleUserVo>> getFollowList(Long userId);

    ApiResult<List<SimpleUserVo>> getFansList(Long userId);
}

